package com.antoco.operation.bigscreen.model.dto;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="PipeZijinTjDTO")
public class PipeZijinTjDTO {

    @NotNull(message = "小于300不能为空")
    @Min(value = 0, message = "小于300必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "小于300必须是整数")
    @ApiModelProperty(value = "小于300", example="300")
    private String xiaoyuThreeZb;

    @NotNull(message = "300至500不能为空")
    @Min(value = 0, message = "300至500必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "300至500必须是整数")
    @ApiModelProperty(value = "300至500", example="300")
    private String threeFiveZb;

    @NotNull(message = "500至1000不能为空")
    @Min(value = 0, message = "500至1000必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "500至1000必须是整数")
    @ApiModelProperty(value = "500至1000", example="300")
    private String fiveTenZb;

    @NotNull(message = "1000以上不能为空")
    @Min(value = 0, message = "1000以上必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "1000以上必须是整数")
    @ApiModelProperty(value = "1000以上", example="300")
    private String dayuTenZb;
}